package entity.zhujie.lianxi.test.demo05.user;

import entity.zhujie.lianxi.test.demo05.HaiYangAnimal;
import entity.zhujie.lianxi.test.demo05.zhujie.ShuiMian;

/*
* 鲨鱼
* */
public class ShaYu extends HaiYangAnimal {
    @Override
    public void eat() {
        super.eat();
        System.out.println("大鱼吃小鱼");
    }
    @ShuiMian("睡眠好的很")
    @Override
    public void sleep() {
        super.sleep();
        System.out.println("鲨鱼窝着睡 ");
    }
}
